<!DOCTYPE html>
<html xmlns:wb="http://open.weibo.com/wb">
<head>
    <meta charset="utf-8">
    <title>{% block title %}{% endblock %}{{site_options.title}}</title>
    <meta name="baidu-site-verification" content="FGI4ULm87e" />
    <meta name="keywords" content="{% block keywords %}{% endblock %}" />
    <meta name="description" content="{% block description %}{% endblock %}" />
    <link rel="shortcut icon" type="image/x-icon" href="http://s.lovewith.me/static/images/favicon.ico" />
    <link rel="stylesheet" href="http://s.lovewith.me/static/css/??reset.css,common.css{% block css %}{% endblock %}?t=205615" />
    <link rel="alternate" type="application/rss+xml" title="婚礼时光RSS Feed" href="{{domain}}share/rss.xml" />
</head>
<body class="{% block pagetype %}{% endblock %}">
    {% block main %}
	{% endblock %}
    
    <input type="hidden" id="csrf" name="csrfmiddlewaretoken" value="{{csrf_token}}" />
    <script src="http://s.lovewith.me/static/js/??lib/sea.js,lib/seajs-combo.js,sea.config.js,lib/arale.js,lib/jquery.js?t=205615"></script>
    <script>
    var siteConfig = {
        authWb: '{{weibo_auth_uri}}',
        authQq: '{{qq_auth_uri}}'
        {% if user.is_authenticated() %}
        ,user: {
            id: {{user.id}},
            name: '{{user.username}}',
            avatar: '{{user.avatar}}!50'
        }
        {%endif%}
    };
    </script>
    {% block script %}{% endblock %}
    {% if not debug %}
    <script>
        var _hmt = _hmt || [];{% block statsScript %}{% endblock %}
        ;(function(){var hm = document.createElement("script");hm.src = "//hm.baidu.com/hm.js?aed056ed7bb86c55c86d04aa94194ddd";var s = document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm, s);})();
    </script>
    {% endif %}
</body>
</html>